package com.bootdo.attribute.dao;

import com.bootdo.attribute.domain.AttributeDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 属性
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-03-02 18:53:07
 */
@Mapper
public interface AttributeDao {

	AttributeDO get(Integer id);
	
	List<AttributeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(AttributeDO attribute);
	
	int update(AttributeDO attribute);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
